package com.hex.ds.hdtp.core.app.dqc.converter;

import com.hex.ds.hdtp.core.app.dqc.dto.request.DqcTaskLogRequestDto;
import com.hex.ds.hdtp.core.app.dqc.dto.response.DqcTaskLogResponseDto;
import com.hex.ds.hdtp.core.app.dqc.dto.response.DqcTaskResponseDto;
import com.hex.ds.hdtp.core.inf.dqc.po.DqcAuditLogPo;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface IDqcTaskLogConverter {
    DqcAuditLogPo toDqcAuditLog(DqcTaskLogRequestDto dqcTaskLogRequestDto);
    List<DqcTaskLogResponseDto> toDqcResponseDto(List<DqcAuditLogPo> dqcAuditLogPos);
}
